package com.jz.netthings.bean.system;

import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.annotations.TableId;
import java.io.Serializable;

/**
 * <p>
 * 综合码表
 * </p>
 *
 * @author yyy
 * @since 2019-01-17
 */
public class JyCode implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    /**
     * 编码
     */
    private String code;
    /**
     * 中文名称
     */
    private String name;
    /**
     * 类型（用于区别不同用途的码表）
     */
    private Integer type;
    /**
     * 描述
     */
    private String remark;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    @Override
    public String toString() {
        return "JyCode{" +
                "id=" + id +
                ", code=" + code +
                ", name=" + name +
                ", type=" + type +
                ", remark=" + remark +
                "}";
    }
}
